home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / netinclude / clib / ifconfig_protos.h next >
C/C++ Source or Header  |  2002-09-16  |  1KB  |  58 lines

  1. #ifndef CLIB_IFCONFIG_PROTOS_H
  2. #define CLIB_IFCONFIG_PROTOS_H
  3. /*
  4. **    $Filename: clib/ifconfig_protos.h $
  5. **    $Release$
  6. **    $Revision: 1.1.1.1 $
  7. **    $Date: 2001/11/26 22:21:15 $
  8. **
  9. **    C prototypes for ifconfig.library
  10. **
  11. **    Copyright © 1995 AmiTCP/IP Group, 
  12. **                     Network Solutions Development Inc.
  13. **                     All rights reserved.
  14. */
  15.  
  16. #ifndef LIBRARIES_IFCONFIG_H
  17. #include <libraries/ifconfig.h>
  18. #endif
  19.  
  20. /* ifconfig.library functions */
  21.  
  22. /*
  23.  * Reserve the first entry for possible ARexx interface
  24.  */
  25. LONG Reserved(void);
  26.  
  27. /*
  28.  * Find the interface configuration for interface ifname.
  29.  */
  30. LONG IfConfigFind(const char *ifname, struct ifconfig ** ifcp);
  31.  
  32. /*
  33.  * Free the configuration got from IfConfigFind().
  34.  */
  35. void IfConfigFree(struct ifconfig * config);
  36.  
  37. /*
  38.  * Find all interface configurations matching the filter. filter can be NULL. 
  39.  */
  40. LONG IfConfigFindAll(struct List ** ifclist, struct TagItem * filter);
  41.  
  42. /*
  43.  * Free a list of configuration entries returned by IfConfigFindAll().
  44.  */
  45. void IfConfigFreeList(struct List * list);
  46.  
  47. /*
  48.  * Convert ifconfig.library error codes to english language error strings.
  49.  */
  50. const UBYTE * IfConfigStrError(ULONG ioerr, char * buf, ULONG bufsiz);
  51.  
  52. /*
  53.  * Return (english) name of the tag
  54.  */
  55. const struct ifc_confitem * IfConfigGetTagInfo(ULONG tagcode);
  56.  
  57. #endif /* CLIB_IFCONFIG_PROTOS_H */
  58.